package cn.iocoder.yudao.module.jikong.controller.admin.backup.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 数据库备份分页 Request VO")
@Data
public class BackupPageReqVO extends PageParam {

    @Schema(description = "sql文件名称", example = "王五")
    private String sqlName;

    @Schema(description = "文件路径")
    private String filePath;

    @Schema(description = "状态: 0 生成中，1生成成功，2生成失败", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}